#pragma once

class nocopy
{
public:
    nocopy(){}
    nocopy(const nocopy &) = delete;  //拷贝构造
    const nocopy&operator=(const nocopy &) = delete;  //赋值构造
};